package com.yxc.mambalibrary.http;

/**
 * IResponse
 * Created by robin on 15/12/4.
 *
 * @author yangxc
 */
public interface IResponse<T> {

    T getResult();

    boolean hasError();

    RequestException throwExceptionWhenHasError();

}
